<template>
	<view class="cc">
		<text>自定义组件</text>
		<rich-text>{{test}}</rich-text>
	</view>
</template>

<script>
	export default {
		props: {
			test: {
				type: String,
				default: '组件传参'
			}
		}
	}
</script>

<style>
</style>
